package com.opc.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "jserialcommio")//application.xml文件
@Data
public class JSerialCommIOProperties {
    private String portName;
    private int baudRate;
    private int dataBits;
    private int stopBits;
    private int parity;
}
